package com.huaxin.hxmoduleworkorder.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class MaintenanceOrderElectricianTaskUpdate_Task_ReqDTO {
    @Schema(description = "任务ID", example = "m_order_001")
    @NotBlank(message = "任务ID不能为空")
    private String taskId;

    @Schema(description = "负责内容描述", example = "负责线路检测与修复")
    @Size(max = 500, message = "负责内容描述长度不能超过500个字符")
    private String responsibility;
}
